package com.zhongxiangspace.entity;

import java.io.Serializable;

/**
 * 查询条件
 */
public class QueryAnalyzer implements Serializable {
    private String keyword;
    private Integer county_id; //区域id
    private Integer building_id;//商圈id
    private Integer trade_area_id;//商圈id
    private String type;
    private String advert_site;
    private  Integer parent_id;

    public Integer getParent_id() {
        return parent_id;
    }

    public void setParent_id(Integer parent_id) {
        this.parent_id = parent_id;
    }

    private Integer hotCode;
    private  Integer topCode;
    private  Integer showCode;

    public Integer getTopCode() {
        return topCode;
    }

    public void setTopCode(Integer topCode) {
        this.topCode = topCode;
    }

    public Integer getShowCode() {
        return showCode;
    }

    public void setShowCode(Integer showCode) {
        this.showCode = showCode;
    }

    public Integer getHotCode() {
        return hotCode;
    }

    public void setHotCode(Integer hotCode) {
        this.hotCode = hotCode;
    }

    public String getAdvert_site() {
        return advert_site;
    }

    public void setAdvert_site(String advert_site) {
        this.advert_site = advert_site;
    }

    /**
     * 文章分类
     */
    private  Integer article_type_id;

    public Integer getArticle_type_id() {
        return article_type_id;
    }

    public void setArticle_type_id(Integer article_type_id) {
        this.article_type_id = article_type_id;
    }

    private Integer page; //页码
    private Integer limit;//每页数据量

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getCounty_id() {
        return county_id;
    }

    public void setCounty_id(Integer county_id) {
        this.county_id = county_id;
    }

    public Integer getTrade_area_id() {
        return trade_area_id;
    }

    public void setTrade_area_id(Integer trade_area_id) {
        this.trade_area_id = trade_area_id;
    }

    public Integer getBuilding_id() {
        return building_id;
    }

    public void setBuilding_id(Integer building_id) {
        this.building_id = building_id;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("QueryAnalyzer{");
        sb.append("keyword='").append(keyword).append('\'');
        sb.append(", county_id=").append(county_id);
        sb.append(", trade_area_id=").append(trade_area_id);
        sb.append(", type='").append(type).append('\'');
        sb.append(", page=").append(page);
        sb.append(", limit=").append(limit);
        sb.append('}');
        return sb.toString();
    }
}
